Skip to content

Conversation

theoephraim
Copy link

Description of Problem

Latest vue / volar / vue-tsc complains when exporting additional types from SFCs (even though it worked previously). It seems this may be the intended behaviour (please confirm!) but was a bit unclear in these docs.

Proposed Solution

This change specifically calls out exporting types and provides a short example.

Additional Information

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Latest vue / volar / vue-tsc complains when exporting additional types from SFCs (even though it worked previously). It seems this may be the intended behaviour, but was a bit unclear in these docs, so this change specifically calls out exporting types.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@theoephraim great addition! Thank you 🙇🏻‍♀️

@NataliaTepluhina NataliaTepluhina merged commit 0ed95f5 into vuejs:master Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants